export default class Match {
  constructor(success: boolean, result?: any) {
    if (result)
      this._result = result;
    this._success = success;
  }

  private _success: boolean = false;

  public get success() {
    return this._success;
  }

  private _result: any = false;

  public get result() {
    return this._result;
  }
}